﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HrEFCore
{
    //一级机构设置
    public class CFFK
    {
        [Key]
        [DisplayName("编号")]
        public short FfkId { get; set; }//主键编号
        [DisplayName("一级机构编号")]
		[Required(ErrorMessage = "请输入一级机构编号")]
		public string FirstKindId { get; set; }//一级机构编号
        [DisplayName("一级机构名称")]
		[Required(ErrorMessage = "一级机构名称不能为空")]
		public string FirstKindName { get; set; }//一级机构名称
        [DisplayName("薪酬发放责任人编号")]
		[Required(ErrorMessage = "薪酬发放责任人编号不能为空")]
		public string FirstKindSalaryId { get; set; }//一级机构薪酬发放责任人编号
        [DisplayName("销售责任人编号")]
		[Required(ErrorMessage = "销售责任人编号不能为空")]
		public string FirstKindSaleId { get; set; }//一级机构销售责任人编号
    }
}
